package com.chinaoly.sdk.base;

import android.support.v4.widget.DrawerLayout;
import android.view.LayoutInflater;
import android.widget.FrameLayout;

public abstract class BaseDrawerActivity extends BaseActivity{

    protected DrawerLayout mBaseDrawerRootLayout;
    protected FrameLayout mBaseDrawerContainerView;

    @Override
    public void setRootLayout(int layoutId) {
        super.setRootLayout(layoutId);
        if(layoutId>0){
            LayoutInflater.from(this).inflate(layoutId,mBaseDrawerContainerView);
        }
    }
}
